/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package interfacegrafica;

/**
 *
 * @author weverson
 */
public class JanelaAdministrativo extends javax.swing.JFrame {

    /**
     * Creates new form JanelaAdministrativo
     */
    public JanelaAdministrativo() {
        initComponents();
        setExtendedState(MAXIMIZED_BOTH);
        setResizable(true);
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jCheckBoxMenuItem1 = new javax.swing.JCheckBoxMenuItem();
        jPanelMenu = new javax.swing.JPanel();
        jPanelMenuAdmBotoes = new javax.swing.JPanel();
        jButtonAbrirConta = new javax.swing.JButton();
        jButtonmMovimentacao = new javax.swing.JButton();
        jButtonListarConta = new javax.swing.JButton();
        jButtonEncerrarConta = new javax.swing.JButton();
        jButtonSair = new javax.swing.JButton();
        jButtonCadastrarCliente = new javax.swing.JButton();

        jCheckBoxMenuItem1.setSelected(true);
        jCheckBoxMenuItem1.setText("jCheckBoxMenuItem1");

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("MENU ADMINISTRATIVO");

        jPanelMenu.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "MENU", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Arial Black", 1, 14))); // NOI18N

        jPanelMenuAdmBotoes.setBorder(javax.swing.BorderFactory.createMatteBorder(4, 4, 4, 4, new java.awt.Color(0, 0, 153)));

        jButtonAbrirConta.setText("ABRIR CONTA");
        jButtonAbrirConta.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonAbrirContaActionPerformed(evt);
            }
        });

        jButtonmMovimentacao.setText("MOVIMENTAÇÃO");
        jButtonmMovimentacao.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonmMovimentacaoActionPerformed(evt);
            }
        });

        jButtonListarConta.setText("LISTAR CLIENTES");
        jButtonListarConta.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonListarContaActionPerformed(evt);
            }
        });

        jButtonEncerrarConta.setText("ENCERRAR CONTA");
        jButtonEncerrarConta.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonEncerrarContaActionPerformed(evt);
            }
        });

        jButtonSair.setText("SAIR");
        jButtonSair.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonSairActionPerformed(evt);
            }
        });

        jButtonCadastrarCliente.setText("CADASTRAR CLIENTES");
        jButtonCadastrarCliente.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonCadastrarClienteActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanelMenuAdmBotoesLayout = new javax.swing.GroupLayout(jPanelMenuAdmBotoes);
        jPanelMenuAdmBotoes.setLayout(jPanelMenuAdmBotoesLayout);
        jPanelMenuAdmBotoesLayout.setHorizontalGroup(
            jPanelMenuAdmBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelMenuAdmBotoesLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelMenuAdmBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jButtonCadastrarCliente, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jButtonAbrirConta, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jButtonListarConta, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 147, Short.MAX_VALUE))
                .addGroup(jPanelMenuAdmBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelMenuAdmBotoesLayout.createSequentialGroup()
                        .addGap(42, 42, 42)
                        .addGroup(jPanelMenuAdmBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jButtonmMovimentacao, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jButtonEncerrarConta, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelMenuAdmBotoesLayout.createSequentialGroup()
                        .addGap(124, 124, 124)
                        .addComponent(jButtonSair, javax.swing.GroupLayout.PREFERRED_SIZE, 79, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        jPanelMenuAdmBotoesLayout.setVerticalGroup(
            jPanelMenuAdmBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelMenuAdmBotoesLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelMenuAdmBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jButtonAbrirConta, javax.swing.GroupLayout.DEFAULT_SIZE, 53, Short.MAX_VALUE)
                    .addComponent(jButtonmMovimentacao, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(27, 27, 27)
                .addGroup(jPanelMenuAdmBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jButtonListarConta, javax.swing.GroupLayout.DEFAULT_SIZE, 55, Short.MAX_VALUE)
                    .addComponent(jButtonEncerrarConta, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(18, 18, 18)
                .addGroup(jPanelMenuAdmBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelMenuAdmBotoesLayout.createSequentialGroup()
                        .addGap(0, 30, Short.MAX_VALUE)
                        .addComponent(jButtonSair))
                    .addComponent(jButtonCadastrarCliente, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );

        javax.swing.GroupLayout jPanelMenuLayout = new javax.swing.GroupLayout(jPanelMenu);
        jPanelMenu.setLayout(jPanelMenuLayout);
        jPanelMenuLayout.setHorizontalGroup(
            jPanelMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelMenuLayout.createSequentialGroup()
                .addComponent(jPanelMenuAdmBotoes, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanelMenuLayout.setVerticalGroup(
            jPanelMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelMenuLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanelMenuAdmBotoes, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(23, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanelMenu, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanelMenu, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jButtonmMovimentacaoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonmMovimentacaoActionPerformed
        // TODO add your handling code here:
        JanelaAdministrativoMovimentacao janelaMovimentacao = new JanelaAdministrativoMovimentacao();
        janelaMovimentacao.setVisible(true);
        this.dispose();
    }//GEN-LAST:event_jButtonmMovimentacaoActionPerformed

    private void jButtonAbrirContaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonAbrirContaActionPerformed
        // TODO add your handling code here:
        JanelaAdministrativoAbrirConta janelaAbrirConta = new JanelaAdministrativoAbrirConta();
        janelaAbrirConta.setVisible(true);
        this.dispose();
    }//GEN-LAST:event_jButtonAbrirContaActionPerformed

    private void jButtonListarContaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonListarContaActionPerformed
        // TODO add your handling code here:
        JanelaAdministrativoListarClientes janelaListarClientes = new JanelaAdministrativoListarClientes();
        janelaListarClientes.setVisible(true);
        this.dispose();
    }//GEN-LAST:event_jButtonListarContaActionPerformed

    private void jButtonEncerrarContaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonEncerrarContaActionPerformed
        // TODO add your handling code here:
        JanelaAdministrativoEncerrarConta janelaEncerrarConta = new JanelaAdministrativoEncerrarConta();
        janelaEncerrarConta.setVisible(true);
        this.dispose();
    }//GEN-LAST:event_jButtonEncerrarContaActionPerformed

    private void jButtonSairActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonSairActionPerformed
        // TODO add your handling code here:
        JanelaPrincipal janelaPrincipal = new JanelaPrincipal();
        janelaPrincipal.setVisible(true);
        this.dispose();
    }//GEN-LAST:event_jButtonSairActionPerformed

    private void jButtonCadastrarClienteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonCadastrarClienteActionPerformed
        // TODO add your handling code here:
        JanelaAdministrativoCadastroCliente janelaCadastroCliente = new JanelaAdministrativoCadastroCliente();
        janelaCadastroCliente.setVisible(true);
        this.dispose();
    }//GEN-LAST:event_jButtonCadastrarClienteActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButtonAbrirConta;
    private javax.swing.JButton jButtonCadastrarCliente;
    private javax.swing.JButton jButtonEncerrarConta;
    private javax.swing.JButton jButtonListarConta;
    private javax.swing.JButton jButtonSair;
    private javax.swing.JButton jButtonmMovimentacao;
    private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem1;
    private javax.swing.JPanel jPanelMenu;
    private javax.swing.JPanel jPanelMenuAdmBotoes;
    // End of variables declaration//GEN-END:variables
}
